package cn.pegasus.teamwork.pegasus.mapper;

import java.util.List;
import java.util.Map;

import cn.iyizhan.teamwork.base.mapper.BaseMapper;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.pegasus.entity.BussUserOrder;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussUserOrderMapper extends BaseMapper<BussUserOrder>{
	
	//查询详情
	public BussUserOrder findRoderInfo(Map<String,Object> map);
	
	/**
	 * 查询洗车工在规定时间内的预约列表
	 * @param map
	 * @return
	 */
	public List<BussUserOrder> findOrderInfoBySpoke(Map<String,Object> map);
	
	//查询总条数
	public int findTotal(Map<String,Object> map);
	
	public int getRefundsCountByWasher(Map<String,Object> map);
	
	//根据时间段查询已退款和已结算的单
	public List<BussUserOrder> findBussUserOrderList(Map<String,Object> map);
	
    public List<BussUserOrder> pageQueryByForList(Map<String, Object> map);
	
	public BussUserOrder findOrderInfoByLogin(Map<String, Object> map);
}